package org.microdream.easy.deploy.web;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.Map;

@Controller
public class DGroupWeb {

    @GetMapping("dGroup")
    public String main(){
        return "/pages/group/dGroupMain";
    }

    @GetMapping("dGroupAdd")
    public String dGroupAdd(){
        return "/pages/group/dGroupAdd";
    }

    @GetMapping("dGroupUpdate")
    public String dGroupUpdate(Map<String, Object> map, Integer id){
        map.put("id",id);
        return "/pages/group/dGroupUpdate";
    }
}
